home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Commands / PLinkOptions.cpp < prev    next >
C/C++ Source or Header  |  1996-09-04  |  983b  |  39 lines

  1. /*
  2.  *--- PLinkOptions.cpp ----------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:19 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PLinkOptions.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PLinkOptions.h"
  12. #include "PRequestBuf.h"
  13. #include "PCommand.h"
  14.  
  15. const size_t REQUEST_SIZE = 12;        // six booleans
  16.  
  17. PLinkOptions::PLinkOptions
  18.       ( PMBool bUpdAutoText,
  19.         PMBool bALert1stText,
  20.         PMBool bStoreInPub,
  21.         PMBool bUpdAUtoGrph,
  22.         PMBool bAlert1stGrph,
  23.         PMBool bDefault )
  24. {
  25.     char * temp[REQUEST_SIZE];
  26.     PRequestBuf request(temp);
  27.  
  28.     request << bUpdAutoText
  29.             << bALert1stText
  30.             << bStoreInPub
  31.             << bUpdAUtoGrph
  32.             << bAlert1stGrph
  33.             << bDefault;
  34.             
  35.     PCommand command(pm_linkoptions, request);
  36. }
  37.  
  38. // end of PLinkOptions.cpp
  39.